//
//  ZCMVAllCollectionViewCell.m
//  VoiceMusic
//
//  Created by dllo on 15/10/21.
//  Copyright © 2015年 zhangdeyu. All rights reserved.
//

#import "ZCMVAllCollectionViewCell.h"

@implementation ZCMVAllCollectionViewCell

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        CGRect rect = [[UIScreen mainScreen] bounds];
        self.tagLable = [[ZCBaseLabel alloc] initWithFrame:CGRectMake(0, 0, (rect.size.width - 50) / 4, 30)];
        self.tagLable.backgroundColor = [UIColor clearColor];
        [self.tagLable setTextColor:[UIColor blueColor]];
        self.tagLable.layer.borderColor = [UIColor blueColor].CGColor;
        self.tagLable.layer.borderWidth = 2.0;
        self.tagLable.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:self.tagLable];
    }
    return self;
}

@end
